package com.temi.iot.service;

import com.temi.iot.common.constant.result.Page;
import com.temi.iot.common.constant.result.Result;
import com.temi.iot.entity.SysPermission;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author one
 * @since 2019-12-11
 */
public interface ISysPermissionService  {

    Result insertPermission(SysPermission sysPermission);

    Result updatePermission(SysPermission sysPermission);

    Result deletePermission(Long id);

    Result selectPermissionDetail(Long id);

    Page selectPermissionList();
}
